cmake_minimum_required(VERSION 3.8)
project(random_graph)

# 包含 standard.h 文件(Modern CMake不推荐使用include_directories)
# include_directories(../../)

add_library(random_graph random_graph.cpp sparse_matrix.cpp)


# 将头文件链接到所生成的库中(random_graph.h)
target_include_directories(random_graph PUBLIC ./)


# 包含所需的头文件(standard.h)
target_include_directories(random_graph PRIVATE ../..)